package com.auxgroup.bridge.business.inner.dto;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.URL;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by niuGuangzhe on 2017/8/7.
 */

public class AppPushTemplateDto {

    @ApiModelProperty(value = "标题")
    @Length(max = 32, message = "长度超出限定长度")
    private String templateTitle;

    private String templateContent;

    private String templateCondition;

    @URL
    private String templateUri;

    private Integer pushType;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date pushTime;

    private String customVariable;

    private String imgUri;

    private String templateType;

    private String adCondition;

    public String getTemplateTitle() {
        return templateTitle;
    }

    public void setTemplateTitle(String templateTitle) {
        this.templateTitle = templateTitle;
    }

    public String getTemplateContent() {
        return templateContent;
    }

    public void setTemplateContent(String templateContent) {
        this.templateContent = templateContent;
    }

    public String getTemplateCondition() {
        return templateCondition;
    }

    public void setTemplateCondition(String templateCondition) {
        this.templateCondition = templateCondition;
    }

    public String getTemplateUri() {
        return templateUri;
    }

    public void setTemplateUri(String templateUri) {
        this.templateUri = templateUri;
    }

    public Integer getPushType() {
        return pushType;
    }

    public void setPushType(Integer pushType) {
        this.pushType = pushType;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    public String getCustomVariable() {
        return customVariable;
    }

    public void setCustomVariable(String customVariable) {
        this.customVariable = customVariable;
    }

    public String getImgUri() {
        return imgUri;
    }

    public void setImgUri(String imgUri) {
        this.imgUri = imgUri;
    }

    public String getTemplateType() {
        return templateType;
    }

    public void setTemplateType(String templateType) {
        this.templateType = templateType;
    }

    public String getAdCondition() {
        return adCondition;
    }

    public void setAdCondition(String adCondition) {
        this.adCondition = adCondition;
    }
}
